package sundun.sharding.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.HashMap;
import java.util.Map;

/**
 * 迁移表数据配置信息
 * @author: zxl
 * @date: 2025/2/5 21:25
 */
@ConfigurationProperties(prefix = "sharding.migration.tables")
public class MigrationTableProperties {

    private Map<String, MigrationTableConfiguration> rule = new HashMap<>();

    public Map<String, MigrationTableConfiguration> getRule() {
        return rule;
    }

    public void setRule(Map<String, MigrationTableConfiguration> rule) {
        this.rule = rule;
    }
}
